{include file="header"}
<!-- 顶部开始 -->
<div class="container">
    <div class="logo">
        <a href="{:url('index/index')}">{:lang("system")}</a></div>
    <div class="left_open">
        <a><i title="{:lang("leftmenu")}" class="iconfont">&#xe699;</i></a>
    </div>
    <ul class="layui-nav left fast-add" lay-filter="">

    </ul>

    <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="{:url('index/index')}">返回上一级</a>
        </li>
        <li class="layui-nav-item">
            <a href="{:url('index/logout')}">退出登录</a>
            <!--<dl class="layui-nav-child">-->
                <!--<dd>-->
                    <!--<a href="{:url('index/logout')}">{:lang("logout")}</a>-->
                <!--</dd>-->
            <!--</dl>-->
        </li>

    </ul>

</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            {volist name="menus" id="item"}
            <li>
                {if count($item['childs'])>=1}

                <a href="javascript:;" {if $key eq 'active'}class="active"{/if}>
                    <i class="iconfont left-nav-li" lay-tips="{$item.name}" ></i>
                    <cite>{$item.name}</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    {volist name="$item.childs" id="val"}
                    <li>
                        {if isset($val['childs']) && count($val['childs'])>=1}
                        <a href="javascript:;">
                        <i class="iconfont">&#xe6a7;</i>
                        <cite>{$val.name}</cite>
                        </a>
                        <ul class="sub-menu">
                            {volist name="$val.childs" id="v"}
                            {php}
                            $class = str_replace("/","_",$v["path"]);
                            {/php}
                            <li>
                                <a onclick="add_tab2('{:url($v["path"])}')" data-url="{:url($v["path"])}" class="{$class}">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>{$v.name}</cite>
                                </a>
                            </li>
                            {/volist}
                        </ul>
                        {else}
                        <a onclick="add_tab2('{:url($val["path"])}')" data-url="{:url($val["path"])}">
                        <i class="iconfont">&#xe6a7;</i>
                        <cite>{$val.name}</cite>
                        </a>
                        {/if}
                    </li>
                    {/volist}
                </ul>
                {else}
                <a href="javascript:;" onclick="add_tab2('{:url($item["path"])}')" data-url="{:url($item["path"])}">
                    <i class="iconfont left-nav-li" lay-tips="{$item.name}"></i>
                    <cite>{$item.name}</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                {/if}
            </li>
            {/volist}

        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <iframe src='{$url}' id="home-iframe" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
    </div>
</div>
<script>
    $(function () {

    })
</script>
<div class="page-content-bg"></div>
<style id="theme_style"></style>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->

{include file="footer"}